package com.example.tourpal.newwork;

public class HttpManager {
	private static HttpManager mHttpManager;
	private HttpActions mHttpActions;

	public static HttpManager getInstance() {
		if (mHttpManager == null) {
			synchronized (HttpManager.class) {
				if (mHttpManager == null) {
					mHttpManager = new HttpManager(new HttpOfVolleyActions());
				}
			}
		}
		return mHttpManager;
	}

	private HttpManager(HttpActions httpActions) {
		this.mHttpActions = httpActions;
	}

	public void setHttpActions(HttpActions httpActions) {
		this.mHttpActions = httpActions;
	}
	
	
}
